BeetleTracking\Controller\WooCommerceController S

Total Complexity 45
Dependencies 6
Dependents 1
Total lines 260
Lines of code 199
Logical lines of code 93
Comment lines 3
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
setup_static_events()
A
56 11 19
setup_product_data()
A
48 9 35
setup_cart_content()
S
52 6 27
setup_checkout_page_event()
S
49 5 30
setup_purchase_event()
S
56 4 19
__construct()
S
62 3 11
setup_product_page_event()
S
52 2 24
setup_product_category_event()
S
53 2 22
setup_loop_product_data()
S
77 1 4
setup_add_to_cart_product_data()
S
77 1 4
setup_blocks_product_data()
S
77 1 4